From: Cosimo Cecchi Date: Tue, 30 Sep 2014 01:51:24 +0000 (-0700) Subject: search: hide provider actors when they're created X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2066 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=778ef365d9ce90f28f03f3758fa9c2bd631d4736;p=gnome-shell.git search: hide provider actors when they're created When the overview is created, search is populated with one actor for each provider. As they're not hidden though, they will contribute to the overall size request of the search page, which will shift upwards the overview grid. Reviewed-By: Jasper St. Pierre --- diff --git a/js/ui/search.js b/js/ui/search.js index 8d41ae6cc..8e6b1ddb4 100644 --- a/js/ui/search.js +++ b/js/ui/search.js @@ -535,6 +535,7 @@ const SearchResults = new Lang.Class({ providerDisplay = new GridSearchResults(provider, this.actor); providerDisplay.connect('key-focus-in', Lang.bind(this, this._keyFocusIn)); + providerDisplay.actor.hide(); this._content.add(providerDisplay.actor); provider.display = providerDisplay; },